package cn.lysj.framework.order.vo;

import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Objects;

/**
 * @Author: ZhangWenJian
 * @Create: 2018/11/6--14:34
 * @Description: 后厨端显示vo
 */
@Data
public class
OrderInfoVo {

    //----------------共用字段------------------
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    private String foodOrderNumber;//订单编号
    @Column(columnDefinition = "decimal(10,2)")
    private BigDecimal actPayMoney;//实付金额
    @Column(columnDefinition = "decimal(10,2)")
    private BigDecimal discountMoney;//红包金额
    private Object foodOrderInfoVos; //订单详情
    private Integer orderSource;//订单来源  1:平台,2:饿了么,3:美团
    private String foodOrderRemark;//订单备注
    private Integer foodOrderStatus;//订单状态 -1 未支付 1.已支付 2.已结单

    //------------平台字段-------------
    private String id;//订单真实Id
    private BigDecimal sumMoney;//应付金额
    private Integer repastWay;//就餐方式
    private Integer serialNumber;// 餐桌编号
    private String eatTableName;//餐桌名称
    private BigDecimal allBoMoney;//餐盒费用
    private BigDecimal allCutleryMoney;//用餐费用
    private Integer useFoodNumber;//用餐人数
    private Integer supporyPayWay;//1.线上 2.线下
    private Integer printType;//1.未打印 2.已打印



    //--------------外卖对接平台字段----------------------------------
    private String consigneePhones; //实际联系方式
    private String phoneList; //转发联系方式
    private String consignee; //下单人
    private String address; //配送地址
    private double deliverFee; //配送费
    private String shopName; //店铺名称




}
